from flask import Flask

app = Flask(__name__)


def add(a, b):
    return a+b


@app.route('/api/add')
def add_func():
    c = add(1,2)
    return str(c)



if __name__ == '__main__':
    app.run(host='0.0.0.0')
